<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="include.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>认识</title>
</head>
<body>

<form id="j_form">
	<input data-check="{}">
	
	<input type="submit"  id="submit" value="提交">
</form>
<script type="text/javascript">
KISSY.use("validation,node,dom",function(S,Validation,node,dom){
   S.ready(function(){
	   var form = new Validation('#j_form',{
	        style:'under'
	    });
	    S.all("#submit").on("click",function(){
	    	form.isValid();
	    	return false; 
	    })
   })
   
});
</script>
</body>
</html>